<template>
    <p>{{ msg }}</p>
    <button @click="increment">您点击了{{ count }}次</button>
</template>
<script setup>
import { ref } from 'vue';
const msg = ref("Hello Composition");
const count = ref(0);

msg.value = "Hello World";

function increment(){
    count.value++;
}

</script>